/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import Analysis.*;
import Help.*;
import java.io.*;
/**
 *
 * @author asfeor
 */
public class Test3 {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
       Help h=new Help();

if (args.length>0) { 
Analysis a=new Analysis();
NameFindFilter n=new NameFindFilter();
switch (a.AnalysisInput(args)) { 
  case 1:{n.Find(args[1],args[3]); n.Output();	break;}  
  case 2:{n.Find(args[1],args[3]); n.Output();	break;}
  case 3:{n.Find(new File("").getAbsolutePath(),args[1]); n.Output();     break;}
  case 4:{n.Find(new File("").getAbsolutePath(),args[1]); n.Output();	break;}
  case 5:{n.Find(args[1], "*"); n.Output();     break; }
  case 6:{n.Find(new File("").getAbsolutePath(),"*"); n.Output(); break;}
 default : h.help();
 }
}
else h.help();
}
  
}


  
